import request from '@/utils/request'

// 胸痛
export function getD2BRatio(data) {
  return request({
    url: '/statisticScreen/getD2BRatio',
    method: 'get',
    params: data,
    baseURL: process.env.VUE_APP_BASE_API_DATA_STATIS
  })
}

// 卒中
export function getStrokeRehabRatio(data) {
  return request({
    url: 'statisticScreenStroke/getStrokeRehabRatio',
    method: 'get',
    params: data,
    baseURL: process.env.VUE_APP_BASE_API_DATA_STATIS
  })
}

// D2W达标率
export function getD2BNumRatio(data) {
  return request({
    url: '/statisticScreen/getD2BNumRatio',
    method: 'get',
    params: data,
    baseURL: process.env.VUE_APP_BASE_API_DATA_STATIS
  })
}
